package org.study.common.model;

import lombok.Data;
import org.joda.time.DateTime;

@Data
public class Message {
    public int code;
    public String message;
    public String data;
    public long timestamp;

    public Message(int code,String message){
        this.code = code;
        this.message = message;
        this.timestamp = DateTime.now().getMillis();
    }
}
